/***************************************************************************//**
 * @file FDM/FDM_Environment.cpp
 * @author  Marek M. Cel <marekcel@mscsim.org>
 *
 * @section LICENSE
 *
 * Copyright (C) 2013 Marek M. Cel
 *
 * This file is part of MScSim. You can redistribute and modify it under
 * the terms of GNU General Public License as published by the Free Software
 * Foundation; either version 3 of the License, or (at your option) any later
 * version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
 * for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.
 * 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 * Further information about the GNU General Public License can also be found
 * on the world wide web at http://www.gnu.org.
 ******************************************************************************/
#ifndef FDM_ENVIRONMENT_CPP
#define FDM_ENVIRONMENT_CPP
#endif

////////////////////////////////////////////////////////////////////////////////

#include <FDM/FDM_Environment.h>

////////////////////////////////////////////////////////////////////////////////

using namespace std;

////////////////////////////////////////////////////////////////////////////////

FDM_Environment::FDM_Environment() :
    m_atmosphere ( 0 ),
    m_turbulence ( 0 ),
    m_windShear  ( 0 )
{
    m_atmosphere = new FDM_Atmosphere();
    m_turbulence = new FDM_Turbulence();
    m_windShear  = new FDM_WindShear();
}

////////////////////////////////////////////////////////////////////////////////

FDM_Environment::~FDM_Environment()
{
    if ( m_atmosphere ) delete m_atmosphere; m_atmosphere = 0;
    if ( m_turbulence ) delete m_turbulence; m_turbulence = 0;
    if ( m_windShear  ) delete m_windShear;  m_windShear  = 0;
}

////////////////////////////////////////////////////////////////////////////////

void FDM_Environment::init()
{

}

////////////////////////////////////////////////////////////////////////////////

void FDM_Environment::update( double /*timeStep*/ )
{

}
